package org.sk.gsync.ui.context;

import java.util.HashMap;

public abstract class AbstractContext {

    private final HashMap<Field, Object> _values =
        new HashMap<Field, Object>();

    public void setValue(final Field key, final Object value) {
        _values.put(key, value);
    }

    public Object getValue(final Field key) {
        return _values.get(key);
    }

    public abstract void load();

    public abstract void save();
}
